package com.jeff.tianti.cms.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.jeff.tianti.common.entity.IdEntity;
import com.jeff.tianti.common.entity.MysqlSequenceIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "job_resume_middle")//job和resume的中间表
public class JobResumeMiddle extends MysqlSequenceIdEntity implements Serializable {
    private static final long serialVersionUID = 4540368972790787232L;

    private String jobId;
    private String resumeId;
    @Column(name = "create_date")
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date createDate;
    @Column(name = "uid")
    private String uid;

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Column(name = "job_id")
    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }
    @Column(name = "resume_id")
    public String getResumeId() {
        return resumeId;
    }

    public void setResumeId(String resumeId) {
        this.resumeId = resumeId;
    }
}
